import request from '@/utils/request'


//查询任务
export function findtaskall (pagenum,pagesize) {
  return request({
    url: `/task/task/findtbtask/${pagenum}/${pagesize}`,
    method: 'post',
  })
}
//取消任务
export function deltask (taskId) {
  return request({
    url: `/task/task/removetbtask/${taskId}`,
    method: 'post'
  })
}
//添加任务
export function  inserttask(data) {
  return request({
    url: `/task/task/insertTbTask`,
    method: 'post',
    data
  })
}

